package com.haoyeteng.sxbd.core.common.constant.dictmap;

import com.haoyeteng.sxbd.core.common.constant.dictmap.base.AbstractDictMap;

/**
 * 用户的字典
 *
 * @author haoyeteng
 * @date 2017-05-06 15:01
 */
public class AdminDict extends AbstractDictMap {

    @Override
    public void init() {
        put("id","账号");
        put("account","账号");
        put("roleid","角色名称");
    }

    @Override
    protected void initBeWrapped() {
        putFieldWrapperMethodName("roleid","getSingleRoleName");
        putFieldWrapperMethodName("adminId","getAdminAccountById");
    }
}
